package com.webull.information.center.carwler.common.model;

import java.util.Date;

/**
 * job执行状态记录model
 *
 * @author shimingjun
 * @version 1.0
 * @since JDK 1.8
 */

public class BaseNewsRel {

    private Integer id;// ` int(11) NOT NULL AUTO_INCREMENT,


    private Integer newsId;
    private Integer targetType;
    private Integer targetId;

    private Date createTime;// ` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
    private Date updateTime;// ` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
    private Boolean del;// ` tinyint(2) NOT NULL DEFAULT '0' COMMENT '1:已删，0:正常，Java:boolean',

    private Integer baseState;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getNewsId() {
        return newsId;
    }

    public void setNewsId(Integer newsId) {
        this.newsId = newsId;
    }

    public Integer getTargetType() {
        return targetType;
    }

    public void setTargetType(Integer targetType) {
        this.targetType = targetType;
    }

    public Integer getTargetId() {
        return targetId;
    }

    public void setTargetId(Integer targetId) {
        this.targetId = targetId;
    }


    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Boolean getDel() {
        return del;
    }

    public void setDel(Boolean del) {
        this.del = del;
    }

    public Integer getBaseState() {
        return baseState;
    }

    public void setBaseState(Integer baseState) {
        this.baseState = baseState;
    }
}
